package cn.iocoder.yudao.module.wms.controller.admin.saleorder.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 销售订单主分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SaleOrderPageReqVO extends PageParam {

    @Schema(description = "流水号")
    private String serialNumber;

    @Schema(description = "业务员id", example = "29432")
    private Long personId;

    @Schema(description = "客户id", example = "1053")
    private Long customerId;

    @Schema(description = "订单日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] orderDate;

    @Schema(description = "流程状态", example = "1")
    private Integer status;
    /***
     * 数量
     */
    private Double number;

    /***
     * 已出库数量
     */
    private Double outNumber;
}